using System;
using System.Collections.Generic;

namespace Ghasam.Business.Domain.Entity
{
    /// <summary>
    /// AdjustmentPayment object for NHibernate mapped table AdjustmentPayment.
    /// </summary>
    [Serializable]
    public class AdjustmentPayment
    {

        private System.String _AdjustmentDesc;
        private System.Double? _Amount;
        private System.DateTime? _ModifyStamp;
        private AdjustmentType _AdjustmentType;
        private AdvancePayment _AdvancePayment;
        private EmployeePayment _EmployeePayment;
        private Loan _Loan;

        public AdjustmentPayment()
        {
        }

        public int Id { get; set; }

         public virtual System.String AdjustmentDesc {
             get { return _AdjustmentDesc; }
             set { _AdjustmentDesc = value;}
         }

         public virtual System.Double? Amount {
             get { return _Amount; }
             set { _Amount = value;}
         }

         public virtual System.DateTime? ModifyStamp {
             get { return _ModifyStamp; }
             set { _ModifyStamp = value;}
         }

         public virtual AdjustmentType AdjustmentType
         {
             get { return _AdjustmentType; }
             set { _AdjustmentType = value; }
         }

         public virtual AdvancePayment AdvancePayment
         {
             get { return _AdvancePayment; }
             set { _AdvancePayment = value; }
         }

         public virtual EmployeePayment EmployeePayment
         {
             get { return _EmployeePayment; }
             set { _EmployeePayment = value; }
         }

         public virtual Loan Loan {
             get { return _Loan; }
             set { _Loan = value;}
         }


        public override int GetHashCode()
        {
            return Id.GetHashCode();
        }

     }
}
